from config.base_config import *
from bitget.down_depth_service import auto_download_depth
from okex.down_k_line_service import okex_download_k_line_one_seconds


def main():
    logging.info("主函数")
    # bitget_download_depth_cycle(50, "2024-10-04 11:00:00")
    # bitget_download_ticker_cycle(3, "2024-10-05 00:00:00")
    # okex_download_k_line("2023-01-01 00:00:00", "2023-01-01 00:00:00", '1s')
    auto_download_depth()
    # auto_download_ticker()
    # okex_download_k_line_one_seconds("BTC-USDT", "2024-08-04 01:58:00", "2024-10-12 20:00:00")


if __name__ == "__main__":
    main()
